package com.dyjch.mly.service.imp;


import com.dyjch.mly.entity.GoodsBound;
import com.dyjch.mly.mapper.GoodsOutBoundMapper;
import com.dyjch.mly.service.GoodsOutBoundService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsOutBoundServiceImp implements GoodsOutBoundService {

    @Autowired
    GoodsOutBoundMapper goodsOutBoundMapper;

    @Override
    public List<GoodsBound> getAllMessage() {
        return goodsOutBoundMapper.getAllMessage();
    }

    @Override
    public void addGoodsOutBoundMessage(GoodsBound goodsBound) {
        goodsOutBoundMapper.addGoodsOutBoundMessage(goodsBound);
    }
}
